﻿namespace XuanFe.Database.Model
{
    /// <summary>
    /// 模块模型
    /// </summary>
    public class ModuleModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 父编码
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 排序号，0为最顶
        /// </summary>
        public int SortIndex { get; set; }
        public override string ToString()
        {
            return this.Name;
        }
    }
}
